package cn.stylefeng.guns.modular.tool.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * 合计分配管理
 */
@Data
@TableName("tool_express_sum")
public class ToolExpressSum implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 作业id
     */
    @TableField("wave_id")
    private Long waveId;

    /**
     * 状态
     */
    @TableField("state")
    private String state;

    /**
     *客户id
     */
    @TableField("customer_id")
    private Long customerId;

    /**
     * 客户名称
     */
    @TableField("customer_name")
    private String customerName;

    /**
     * 商品组合
     */
    @TableField("goods_number")
    private String goodsNumber;

    /**
     * 组合数量
     */
    @TableField("num")
    private String num;

    /**
     * 组合单量
     */
    @TableField("order_num")
    private String orderNum;

    /**
     * 组合总数量
     */
    @TableField("sum_num")
    private String sumNum;

    /**
     *序号
     */
    @TableField("v1")
    private String v1;

    /**
     *执行单量
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * 交付客户id
     */
    @TableField("deliver_id")
    private Long deliverId;

    @Override
    public String toString() {
        return "ToolExpressSum{" +
        "id=" + id +
        ", waveId=" + waveId +
        ", state=" + state +
        ", goodsNumber=" + goodsNumber +
        ", num=" + num +
        ", orderNum=" + orderNum +
        ", sumNum=" + sumNum +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", deptId=" + deptId +
        ", deliverId=" + deliverId +
        "}";
    }
}
